gsicon.gif (378bytes) GifScan 2.0 Read Me


Contents

  1. Introduction
  2. Using GifScan
  3. Application Menus
  4. Application Preferences
  5. About the source code
  6. Cost
  7. Development History
  8. Future Plans
  9. About the author
  10. Download GifScan 2.0

Introduction?

A while ago now, I was looking for an application that could give me quick information about GIF files without viewing each one. (The image itself is sometimes not important...) Information such as such as size, whether it is interlaced and such. The GIF format is still the preferred format when using images in Netscape or Mosaic. The only problem was that I could not find a suitable application for the Macintosh. Fortunately, I found some code on the Net that did most of what I was looking for. Unfortunately, this was written for command line systems. Fortunately again, I was not completely new to Macintosh programming and I decided to build some interface around it. This is the result of my efforts. If I have a need for something like this, there must be more people that could use it, especially if you are like me and like to make up your pages in a text editor instead of some full blown wysiwyg application. So, I decided to release it. I have been working on it for a while now and since the first version many things have changed. I should rename the application to something more appropriate such as HTML Helper or something, but I guess that name has already been claimed by someone. It not only generates HTML SRC tags for GIF files but also for JPEGs and it generates HTML HREF tags for any other file dropped on it and therefore it can also be used to generate quick indexes of all files in a certain folder (or directory...). Since the previous version (1.9), this is new:

How to use it?

Most users will probably be most comfortable using it as you would use any Drag and Drop application. Just drag the selected files onto the GifScan icon and it will generate an appropiate HTML tag for all, placing the result on the Clipboard. If you hold down the option key (optkey.gif
(72bytes)) while dragging files onto the application, you will be prompted to save a text file (including any header and footer) after processing the files.

If you open the application by double clicking it, you will be presented with a regular text window. You can also drag files into this window and tags will be generated, shown in the window and copied to the Clipboard. (You can turn this option off it you like). A possible result is shown here:

gsophref.gif (7k)

Alternatively, if you want extensive information about a particular GIF, you can hold down the cmdkey.gif (67bytes)
key or set the Prefs to do this all the time. You will be presented with information similar to this:

gsopall.gif (8k)

The official GIF specs are available on the Apprentice 2 CD, probably on Compu$erve and at Royal Frazier's page. If this stuff doesn't mean anything to you then it is probably of no use to you. Some highlights of what is shown in this window: the image width and height, the number of colours and whether the GIF is interlaced or not. The transparent colour in this example is colour number 0 which is FFFFFF, white in hexadecimal. If you like, you can copy output from this application to paste in elsewhere, or you can drag parts out of the window if you have System 7.5 or Drag and Drop.

The Menus

Under the File menu:
Under the Edit menu: When you save a file, the tokens ^1, ^2 and ^3 will be converted to your name, the date and your email address. The name and email only work when you have Internet Config 1.2 or greater installed!

The Preferences

The Preferences window is shown here (with the default settings):

gsprefs.gif (9k)

The font and size popup menus are used to set the font and size to use in the main window. The help symbol at the bottom can be used to turn on Balloon Help which is available for every item in the window. (Thanks to Peter Lewis' Perl script, this is not very difficult at all!).
If you click the 'Defaults' button, the TEXT creator, font name and size will be taken from Internet Config if you have it installed. If not, it will be set to my defaults, just as the rest.

About the source code

I assembled the original version using DropUnix 1.1. DropUnix 1.2 is available now. (Drop Unix is essentially DropShell 2.0 by Leonard Rosenthal et. al., adapted to easily port command line applications to Macintosh, by Ryan Davis) and the source code gifscan.c, written by James D. Murray (in 1989 I think!). Over time, I have added a lot more features, I have used Aaron Giles' JPEG Library (can't find the source on Internet anymore...) and a whole lot of other fine examples, see the about box for more credits if you are interested. I wrote it using MetroWerks 9 (C Compiler version 1.5) on a Macintosh Quadra 630 and a Powerbook 5300. My access to different machines is limited, so if you have a machine or System that it doesn't work on, I apologise in advance.

What does it cost me?

Absolutely nothing if you don't use it to make money with! If you do use it in professional Web page design, I would appreciate the modest amount of $10 (or £5, if you prefer to pay in UK currency) for each copy that is used in your organisation. Alternatively, if you have more than 5 machines in your organisation, the fee is a flat $50 (or £25) I have seen designers charging anywhere between $25 and $300 per page in addition to an hourly charge, so I think it is only fair that you pay me for the many hours I put into developing GifScan, if you use it regularly. Just wrap a note in an envelope and send it to me. Users in the UK can send me a check for the amount if they like. Please understand however, that I, the author, can not be held responsible for any damages that are a result of using this application. I have done my best to make it as stable as possible but, as in most software, there are probably some bugs left.

Version History

1.0 1.01 1.5 1.6 1.7 1.8 1.9 2.0

Thanks to all of you that have sent me e-mail to improve this application. It is really appreciated!

Future plans

What more would you like to see in this application? Please send suggestions if you have them. Due to a hard system crash a while ago I have lost a few messages. If you were one of them, I apologise for not answering your mail. On my improvements list are:

Known Problems

About the author

For questions and bug reports, you can send e-mail to: marcb@dircon.co.uk

Send postcards and money to my regular mail address:

Marc Boon
7 Williams Close
Addlestone
Surrey KT15 1UR
United Kingdom

Thanks for your attention, not many people get this far!

Marc Boon


Download GifScan 2.0


RETURN
Return to Marc's homepage
.
Last Updated: 20-June-96
©1996 Marc Boon - marcb@dircon.co.uk